package com.example.hbase;

import com.example.hbase.service.HBaseService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author void
 * @date 2021/5/27 15:30
 * @desc
 */
@RestController
@SpringBootApplication
public class HbaseAliApplication {

    public static void main(String[] args) {
        SpringApplication.run(HbaseAliApplication.class, args);
    }

    @GetMapping("/test")
    public String test(){
        HBaseService.listTable();
        return "";
    }
}
